package com.Lyy.entity;

public class Course {
    private String CourseName;
    private String CourseScore;

    public Course() {
    }

    public Course(String courseName, String courseScore) {
        CourseName = courseName;
        CourseScore = courseScore;
    }

    public String getCourseName() {
        return CourseName;
    }

    public void setCourseName(String courseName) {
        CourseName = courseName;
    }

    public String getCourseScore() {
        return CourseScore;
    }

    public void setCourseScore(String courseScore) {
        CourseScore = courseScore;
    }

    @Override
    public String toString() {
        return "Course{" +
                "CourseName='" + CourseName + '\'' +
                ", CourseScore='" + CourseScore + '\'' +
                '}';
    }
    public void cc(){
        System.out.println(this.CourseName+"\n"+this.CourseScore);
    }
}
